package org.linlinjava.litemall.admin.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(description = "订单列表分页")
public class OrderTransactionDataReqVO {

    @ApiModelProperty(value = "门店", example = "1")
    private Integer shopId;

    @ApiModelProperty(value = "支付类型数组")
    private Byte payType;

    @ApiModelProperty(value = "订单来源")
    private Byte orderSource;

    @ApiModelProperty(value = "开始日期", example = "2021-07-01")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime[] timeHorizon;
}

